Create a dynamic Ul tree with any JSON or plain JavaScript object