Fix _createPojoFromInput for multiple level