Remove unneeded comma
Put scopeName at top
Add json_builder