Move json to a different var for ras_spec
Added test for too big of a size