updated server to print json. still needs work