moving and extracting json