Add utility methods to convert JSON object to actual map or list depending on type