Extract bits and pieces from JSON