more json api framework and test stuff