// During parsing, GSON will try. Which means sometimes we get 'empty' objects // They're non-null, but don't have any information. public LockInfo getLockInfo() { if (lock_info == null || lock_info.isEmpty()) { return null; } return lock_info; }