Logging params
Fix syntax error
Logging and changing type
Functioning json serving server