prepare json output for swimmer