Removed some unused stuff in the makefile and also changed to use the variables instead
Removed lib_json:add_field/2, it is no longer needed
Improved a lot in the lib_json file