Fix json format issues. Added default constructors.