The current code of JSONToMySQL assumes that the keys of a parent pass to a child however the key of a parent could be different of the child. For example:
Table A (Key A+B)
Table B: Child of A (Key C), (A+B are referenced fields to table A)
Table C: Child of B (Key C+D) --> Here fields A+B does not exists however JSONToMySQL assumes that they are.