code: private static String getBookParam(Map<String,String> bookParams, String paramName) {
  		String value = bookParams.get(paramName);
  		if(value != null && value.isEmpty()) value = null;
  		return value;
  	}
docs: Gets a book parameter, null if empty.