partially implemented ajax
ajax callback with json serialization