Updated from arrange_to_json to arrange_to_hash, added test and documentation