replaced raw json strings with play json api calls