Issue-33 Fix

Fixed the bug where Reference Fields were not decrementing depth correctly. I also updated the transform_object logic so that depth is not a factor when serializing ListFields and depth of zero is only checked on Document objects, which will prevent the 'Max recursion depth exceeded' message from showing up on basic field types like strings, integers, etc