fix recursive arrays
fix level bug that became obvous with recursion
recursive object test
adding the actual references for referenced objects